<div class="response" >


  <uib-accordion>
    <uib-accordion-group
      panel-class="{{resp.ui.panelClass}}"
      ng-repeat="resp in responses" 
      is-open="resp.ui.open">
      <uib-accordion-heading>

        <a ng-click="rmResp(resp)" class="btn btn-danger btn-xs">
          <span class="glyphicon glyphicon-minus" aria-hidden="true"></span>
        </a>  
        {{resp.status.text}}
      </uib-accordion-heading>

    
    <ul>
      <li ng-repeat="(hk, hv) in resp.headers" >
        {{hk}} : {{hv}}
      </li>
    </ul>

  
    <uib-tabset>
      <uib-tab heading="json">
        <pre>
          <json-formatter open="1" json="resp.data.json"></json-formatter>        
        </pre>
        
      </uib-tab>
      <uib-tab  heading="raw">
        <div hljs language="javascript" source="resp.data.raw"></div>
      </uib-tab>
    </uib-tabset>


    </uib-accordion-group>
  </uib-accordion>




</div>
